package com.xuetang9.t9.xinhuaxia.service;

import com.github.pagehelper.PageInfo;
import com.xuetang9.t9.xinhuaxia.beans.User;
import com.xuetang9.t9.xinhuaxia.beans.UserOrderlist;

import java.util.List;

/**
 * @author 李亚奇
 * @version 1.0
 * @desc TODO
 * @date 2020/3/4 12:09
 * @copyright liyq
 * @address 成都西部国际金融中心2栋2201
 **/
public interface IUserOrderListService {

    boolean insert(UserOrderlist userOrderlist);

    boolean remove(Long id);

    boolean update(UserOrderlist userOrderlist);

    UserOrderlist queryById(Long id);

    UserOrderlist queryByProperty(UserOrderlist userOrderlist);

    List<UserOrderlist> queryByUserId(Long id);

    PageInfo<UserOrderlist> queryByPage(int currentPage, int perPageSize);

}
